package com.pinfly.common.crypto;

import java.security.Key;

/**
 * This interface provides a means for the Crypto implementations to retrieve
 * the keys from various locations such as a keystore file, key provider
 * service, etc.
 */
public interface ICryptoKey
{
    /**
     * Returns the Key to be used for encrypting and decrypting data.
     * 
     * @return the Key
     */
    public Key getKey ();

}
